from django.urls import path
from rest_framework.routers import SimpleRouter

from . import views

router = SimpleRouter()
router.register('banner', views.BannerView, 'banner')
router.register('swiminfo', views.SwimHomeView, 'swiminfo')
router.register('swimpeople', views.SwimPeopleNumView, 'swimpeople')
router.register('swimnum', views.SwimNumAddView, 'swimnum')
router.register('swimnumcut', views.SwimNumCutView, 'swimnumcut')
urlpatterns = [
    # path('', include(router.urls)),

]

urlpatterns += router.urls
